package cn.campus.pojo.article.vo;

import com.fasterxml.jackson.annotation.JsonFilter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 视图类，用于响应请求，处于最外层的返回结果
 * Created by linyanbin on 2018/9/15.
 */
@Data
public class ResultVO<T> {
    /** 自定义状态码 **/
    private Integer code;
    /** 提示信息 **/
    private String msg;
    /** 数据 **/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private T data;

}
